
add_executable(loadDriver entry.cxx app.cxx)
if(ANDROID)
    target_link_libraries(loadDriver PRIVATE log)
endif()
target_link_libraries(loadDriver PRIVATE simpCore)
if(HAVE_PTHREAD)
    target_link_libraries(loadDriver PRIVATE pthread)
endif()
install(TARGETS loadDriver ARCHIVE DESTINATION bin)

add_library(driverA SHARED driverA.cxx)
install(TARGETS driverA LIBRARY DESTINATION drivers)

add_library(driverB SHARED driverB.cxx)
install(TARGETS driverB LIBRARY DESTINATION drivers)
